﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace CPPEI.Coolzon.DesignServer.Data
{
    [MessageContract]
    public class DeletingList
    {
 
        [MessageHeader]
        public Guid ItemId { get; set; }

        [MessageHeader]
        public Guid ItemParentId { get; set; }

        [MessageHeader]
        public Guid ItemFolderId { get; set; }

        [MessageHeader]
        public string ItemName { get; set; }

        [MessageHeader]
        public int ItemVersion { get; set; }

        [MessageHeader]
        public int ItemType { get; set; }

        [MessageHeader]
        public string ItemExtension { get; set; }

        [MessageHeader]
        public string ItemPath { get; set; }

        //[MessageBodyMember]
        //public string Content { get; set; }

        public DeletingList()
        {

        }

        public DeletingList(Guid itemId, string itemName, int itemVersion, Guid parentId, Guid folderId, int itemType, string itemExtension,string itemPatn)
        {

            this.ItemId = itemId;
            this.ItemName = itemName;
            this.ItemVersion = itemVersion;
            this.ItemParentId = parentId;
            this.ItemFolderId = folderId;
            this.ItemType = itemType;
            //this.Content = content;
            this.ItemExtension = itemExtension;
            this.ItemPath = itemPatn;
        }

    }
}
